#include "ICPPairingConfig.h"

int ICPPairingConfig::_countId = 0;

ICPPairingConfig::ICPPairingConfig(string acTypeCrew, string baseCode, string bgnTerminal, string endTerminal,
                                   int maxPairingDays, int maxPairingDaysI)
    : _acTypeCrew(acTypeCrew), _baseCode(baseCode), _bgnTerminal(bgnTerminal), _endTerminal(endTerminal),
      _maxPairingDays(maxPairingDays), _maxPairingDaysI(maxPairingDaysI) {
    _id = _countId++;
}

ICPPairingConfig::~ICPPairingConfig() {}

void ICPPairingConfig::print() {
    cout << "ICPResLimit-> id-" << _id << " acTypeCrew-" << _acTypeCrew << " baseCode-" << _baseCode << " bgnTerminal-"
         << _bgnTerminal << " endTerminal-" << _endTerminal << " maxPairingDays-" << _maxPairingDays << endl;
}
